package yl.hs.bmipfull.pojo.salemanage;

import lombok.Data;
import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 华砂信息-谢景广
 * @category 销售订单实体类
 */
@Data
@DBTable(disName = "销售订单", mapCode = "sale_order")
public class SaleOrderEntity extends BaseEntity {


    private Long id;
    @DBField(disName = "销售订单信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "XSDD")
    private String sn;
    private String contractSN;
    private String customerSN;
    @DBField(disName = "客户名称")
    private String customerName;
    private String customerNamePY;
    @DBField(disName = "发货时间")
    @Nullable
    private Date deliveryTime;
    @DBField(disName = "备注")
    private String remark;
    private short state;
    private String saleUser;
    private String truckPlate;
    private Date addTime;
    private String saleUserSN;
}
